<meta charset="UTF-8"/>

  <div class="s_img" th:fragment="brandModuleLeft">
     <!--左侧广告--> 
     <th:block th:each="data : ${allAds}">        
        <th:block th:each="data2 : ${data.value}" th:if="${data.key} == ${moduleName}">
           <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==0}">            
               <img th:src="@{${subdata.advertiseImageUrl}}" width="190" height="253" class="lazy" alt="" th:title="${subdata.advertiseName}"/>
               <div class="info" th:text="${subdata.advertiseName}">韩风女装<span class="fr"></span></div>
           </a>
        </th:block> 
     </th:block>
   </div>
   
   <!-- 女装, ，，右边广告 -->
 
   
    <div class="fl_img" th:fragment="brandModuleRight">
          <th:block th:each="data : ${allAds}">        
             <th:block th:each="data2 : ${data.value}" th:if="${data.key}==${moduleName}">
                <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==1}">            
                  <img  th:src="@{${subdata.advertiseImageUrl}}" th:class="${class1}" width="580" height="423" alt="" th:title="${subdata.advertiseName}"/>                  
                </a>
                <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==2}">
                  <img  th:src="@{${subdata.advertiseImageUrl}}" th:class="${class2}" width="200" height="253" alt="" th:title="${subdata.advertiseName}"/>
                </a>
                <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==3}">
                  <img  th:src="@{${subdata.advertiseImageUrl}}" th:class="${class3}" width="200" height="160" alt="" th:title="${subdata.advertiseName}"/>
                </a>
              </th:block> 
           </th:block>          
     </div>
     
    <!-- 男装（2个<a>标签），soneed （2个<a>标签），素缕（3个<a>标签） ，童装（2个<a>标签）  ，尼班师（1个<a>标签）  ，  右边广告,这几个模块不同的地方为：<div class="fr_img"> 里面  <a></a> 的个数   --> 
     <!-- class1='sad1 lazy' , class2='sad2 lazy', class3='sad3 lazy', class4='sad4 lazy' , class5='sad5 lazy', class9='sad9 lazy', -->
     
     <!-- width1='790' , width2='200' ,width3='200' ,  -->
     <!--  height1='423', height2='253', height3='160' -->
      
      <div class="R fl" th:fragment="brandModuleRightDifferent">
        <div class="fl_img">
           <th:block th:each="data : ${allAds}">        
             <th:block th:each="data2 : ${data.value}" th:if="${data.key}==${moduleName}">
                <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==1}">            
                  <img th:src="@{${subdata.advertiseImageUrl}}" th:class="${class4}" th:width="${width1}" th:height="${height1}" alt="" th:title="${subdata.advertiseName}"/>                  
                </a>
             </th:block> 
           </th:block>  
        </div>
        <div class="fr_img">
          <th:block th:each="data : ${allAds}">        
             <th:block th:each="data2 : ${data.value}" th:if="${data.key}==${moduleName}">
                <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==2}">            
                  <img  th:src="@{${subdata.advertiseImageUrl}}" th:class="${class5}" th:width="${width2}" th:height="${height2}" alt="" th:title="${subdata.advertiseName}"/>                  
                </a>
                <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==3}">            
                  <img  th:src="@{${subdata.advertiseImageUrl}}" th:class="${class9}" th:width="${width3}" th:height="${height3}" alt="" th:title="${subdata.advertiseName}"/>                  
                </a>
                <a href="" th:href="@{${subdata.advertiseLink}}" target="_blank" th:each="subdata : ${data2}" th:if="${data2Stat.index==4}">   <!-- th:if="${data2Stat.index==3}  正式数据下应改为   index=4  -->        
                  <img  th:src="@{${subdata.advertiseImageUrl}}" th:class="${class11}" th:width="${width4}"  th:height="${height4}" alt="" th:title="${subdata.advertiseName}"/>                  
                </a>
             </th:block> 
          </th:block>
        </div>
      </div>